<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 20px;
        }
        .welcome-container {
            background-color: white;
            padding: 30px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            max-width: 800px;
            margin: 40px auto;
        }
        h1 {
            color: #333;
            text-align: center;
        }
        .welcome-message {
            text-align: center;
            font-size: 18px;
            margin: 20px 0;
        }
        .logout-link {
            display: block;
            text-align: center;
            margin-top: 20px;
        }
        .logout-link a {
            color: #4CAF50;
            text-decoration: none;
        }
        .logout-link a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <div class="welcome-container">
        <h1>欢迎页面</h1>
        <div class="welcome-message">
            <p>欢迎您，<span th:text="${username}"></span>！</p>
            <p>您已成功登录系统。</p>
        </div>
        <div class="logout-link">
            <a href="/logout">退出登录</a>
        </div>
    </div>
</body>
</html> 